package cn.ztuo.bitrade.dao;

import cn.ztuo.bitrade.dao.base.BaseDao;
import cn.ztuo.bitrade.entity.IeoLevel;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface IeoLevelDao extends BaseDao<IeoLevel> {

    @Modifying
    @Query(value = "select * from ieo_level order by id desc",nativeQuery = true)
    List<IeoLevel> selecAll();

}
